<!DOCTYPE html>
<html>
  <head>
    <title>地区管理-编辑</title>
 		<#include "fsoft-common.ftl" />
  </head>
  <body>
    <div class="layui-fluid">
      <div class="layui-card">
        <div class="layui-card-body">
          <form class="layui-form layui-form-pane" action="" method="post" id="sysAreaForm" lay-filter="sysAreaForm" autocomplete="off">
            <input class="layui-input" type="hidden" name="id" id="id" value="${model.id}"/>
            <input class="layui-input" type="hidden" id="parentId" name="parentId" value="${model.parentId}">
            <div class="layui-row layui-col-space3">
              <div class="layui-form-item">
                <label for="name" class="layui-form-label">上级</label>
                <div class="layui-input-block">
                  <div id="xm-select-Area" class="xm-select-demo"></div>
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">
                  <span class="x-red">*</span>编码
                </label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="code" value="${model.code}" lay-verify="required" autocomplete="off">
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">
                  <span class="x-red">*</span>名称
                </label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="name" value="${model.name}" lay-verify="required" autocomplete="off">
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">区号</label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="postCode" value="${model.postCode}" autocomplete="off">
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">邮政编码</label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="areaCode" value="${model.areaCode}" autocomplete="off">
                </div>
              </div>
              <#--  <div class="layui-form-item">
                <label for="name" class="layui-form-label">
                  <span class="x-red">*</span>排序
                </label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" id="sortNo" name="sortNo" value="${model.sortNo}"  lay-verify="required|number">
                </div>
              </div>  -->
            </div>
            <div class="layui-row layui-col-space3" style="margin-top:25px;">
              <div class="layui-col-xs2 layui-col-xs-offset10">
                <button class="layui-btn layui-btn-sm layui-btn-normal" lay-filter="save" lay-submit>
                  <i class="fa fa-save" aria-hidden="true" ></i> 保存
                </button>
              </div>
            </div>
          </form>
        </div>
      </div>
    </div>
  </body>
  <#include "fsoft-common-foot.ftl" />
	<script type="text/javascript" src="${request.contextPath}/static/fsoft-web/area/sysarea-modify.js?v=202110"></script>
</html>
